
namespace ZR.Model.FacManage
{
    /// <summary>
    /// 库位信息
    /// </summary>
    [SugarTable("fac_loc")]
    [Tenant("0")]
    public class FacLoc
    {
        /// <summary>
        /// 库位主键 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "loc_id")]
        public string LocId { get; set; }

        /// <summary>
        /// 仓库Id 
        /// </summary>
        [SugarColumn(ColumnName = "whse_id")]
        public string WhseId { get; set; }

        /// <summary>
        /// 库位编码 
        /// </summary>
        [SugarColumn(ColumnName = "loc_code")]
        public string LocCode { get; set; }

        /// <summary>
        /// 库位名称 
        /// </summary>
        [SugarColumn(ColumnName = "loc_name")]
        public string LocName { get; set; }

        /// <summary>
        /// 库位类型 
        /// </summary>
        [SugarColumn(ColumnName = "loc_type")]
        public string LocType { get; set; }

        /// <summary>
        /// 库位类别 
        /// </summary>
        [SugarColumn(ColumnName = "loc_category")]
        public string LocCategory { get; set; }

        /// <summary>
        /// 库位状态 
        /// </summary>
        [SugarColumn(ColumnName = "loc_status")]
        public string LocStatus { get; set; }

        /// <summary>
        /// 出库路线次序 
        /// </summary>
        [SugarColumn(ColumnName = "alloc_code")]
        public string AllocCode { get; set; }

        /// <summary>
        /// 入库路线次序 
        /// </summary>
        [SugarColumn(ColumnName = "putaway_code")]
        public string PutawayCode { get; set; }

        /// <summary>
        /// 热度值 
        /// </summary>
        public int? Popular { get; set; }

        /// <summary>
        /// 是否空库位 
        /// </summary>
        [SugarColumn(ColumnName = "is_empty")]
        public bool IsEmpty { get; set; }

        /// <summary>
        /// 是否有托盘 
        /// </summary>
        [SugarColumn(ColumnName = "has_tray")]
        public bool HasTray { get; set; }

        /// <summary>
        /// X 
        /// </summary>
        public string X { get; set; }

        /// <summary>
        /// Y 
        /// </summary>
        public string Y { get; set; }

        /// <summary>
        /// Z 
        /// </summary>
        public string Z { get; set; }

        /// <summary>
        /// Agv地址 
        /// </summary>
        [SugarColumn(ColumnName = "agv_address")]
        public string AgvAddress { get; set; }

        /// <summary>
        /// 计划号 
        /// </summary>
        [SugarColumn(ColumnName = "plan_code")]
        public string PlanCode { get; set; }

        /// <summary>
        /// 包装编号 
        /// </summary>
        [SugarColumn(ColumnName = "package_code")]
        public string PackageCode { get; set; }

        /// <summary>
        /// 创建人 
        /// </summary>
        [SugarColumn(ColumnName = "create_by")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间 
        /// </summary>
        [SugarColumn(ColumnName = "create_time")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新人 
        /// </summary>
        [SugarColumn(ColumnName = "update_by")]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间 
        /// </summary>
        [SugarColumn(ColumnName = "update_time")]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注 
        /// </summary>
        [SugarColumn(ColumnName = "remark")]
        public string Remark { get; set; }

    }
}